import request from '@/router/axios';
export const getList = (current, size, params) => {
  return request({
    url: '/api/mes-warehouse/history-inventory-lot/page',
    method: 'get',
    params: {
      ...params,
      current,
      size
    }
  });
};

export const getDetailList = (current, size, params) => {
  return request({
    url: '/api/mes-warehouse/history-inventory-lot-log/page',
    method: 'get',
    params: {
      ...params,
      current,
      size
    }
  });
};

export const getPartBrandList = (partNo) => {
  return request({
    url: '/api/mes-warehouse/history-inventory-lot/list-group-by-partBrand',
    method: 'get',
    params: {
      partNo
    }
  });
};
